#ifndef _VERTEX_H
#define _VERTEX_H

#include "Vector2.h"
#include "Vector3.h"

#ifdef GALLIUMENGINE_DLL 
#define GALLIUMENGINE_API __declspec( dllexport )
#else
#define GALLIUMENGINE_API __declspec( dllimport )
#endif

namespace GalliumEngine
{

	struct Vertex
	{
		Vector3 position;
		Vector2 uv;
		Vector3 normal;

		Vertex() {}

		GALLIUMENGINE_API Vertex(const Vector3& _position, const Vector2& _uv, const Vector3& _normal)
		{
			position = _position;
			uv = _uv;
			normal = _normal;
		}

		GALLIUMENGINE_API Vector3 getPosition()
		{
			return position;
		}

		GALLIUMENGINE_API Vector2 getUv()
		{
			return uv;
		}

		GALLIUMENGINE_API Vector3 getNormal()
		{
			return normal;
		}
	};

}

#endif